package com.camp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收藏对象 c_collect
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class Collect extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private CUser cUser;
    private CYd cYd;

    public CUser getcUser() {
        return cUser;
    }

    public void setcUser(CUser cUser) {
        this.cUser = cUser;
    }

    public CYd getcYd() {
        return cYd;
    }

    public void setcYd(CYd cYd) {
        this.cYd = cYd;
    }

    /** 收藏id */
    private String collectId;

    /** 营地id */
    @Excel(name = "营地id")
    private String ydId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    public void setCollectId(String collectId) 
    {
        this.collectId = collectId;
    }

    public String getCollectId() 
    {
        return collectId;
    }
    public void setYdId(String ydId) 
    {
        this.ydId = ydId;
    }

    public String getYdId() 
    {
        return ydId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collectId", getCollectId())
            .append("ydId", getYdId())
            .append("userId", getUserId())
                .append("cUser", getcUser())
                .append("cYd", getcYd())
            .toString();
    }
}
